#include "../src/FileFormat/DataIndex.hpp"

int main()
{
  DataIndex data;
  data.Start("/tmp/DataIndex_test",{
    .imgWidth=5,
    .imgHeight=1,
    .pixelType=BaseCamera::ImageType::GREY,
    .CameraUUID="TEST"
  });
  char str[]="test\n";
  for(int i=0;i<10;i++)
    data.FileSaveFuncCall({i,5,(unsigned char*)str,"{}"});
  data.Stop();
}
